﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Docentric.Examples.Data.BusinessObjects.DataModel;
using System.IO;


namespace Docentric.Examples.Data.BusinessObjects
{
	public static class DataAccessLM
	{
		private static List<ProductCategory> _productCategories;
		private static List<Product> _products;
		private static List<Customer> _customers;
		private static List<Order> _orders;
		private static Store _store;


		#region Static constructor
		static DataAccessLM()
		{
			// Fill Product Catogories
			_productCategories = new List<ProductCategory>() {
                new ProductCategory() { Id = 1, Name = "Alpsko mleko" },
                new ProductCategory() { Id = 2, Name = "Ego" },
                new ProductCategory() { Id = 4, Name = "Mu" }
            };



			#region Fill Products
			_products = new List<Product>();

			// Category: Alpsko mleko
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 1,
				Code = "0001",
				Name = "Alpsko mleko z 1,6% m.m.; 0,5 l",
				Price = 5.1M,
				Image = GetEmbeddedResource(@"AlpskoMleko.1.1.1.3-alp-mleko-1.6-0.5.jpg"),
				Description = "These flours are made using the Unifine Process. In the Unifine Process the grain enters a high speed rotor and is instantly shattered into fine flour - even the bran and germ are burst! Air goes through the rotor with the grain and blows the flour out, thus keeping it cool throughout the process, retaining many nutrients. With the Unifine Process the natural oils in the grain are kept intact and do not get hot like in regular grain milling and stoneground milling.\r\nThis mild-flavored flour made from barley grain contains some gluten. It is low in fat. Aside from being used in baked goods, barley flour can also be used as a thickener, much like flour, for people on a wheat-restricted diet."
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 2,
				Code = "0002",
				Name = "Alpsko mleko s 3,5% m.m.; 0,5 l",
				Price = 4.99M,
				Image = GetEmbeddedResource(@"AlpskoMleko.1.1.1.5-alp-mleko-3.5.-0.5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 3,
				Code = "0003",
				Name = "Alpsko mleko s 3,5% m.m.; 0,2 l",
				Price = 11.09M,
				Image = GetEmbeddedResource(@"AlpskoMleko.1.1.1.6-alp-mleko-3.5.-0.2.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 4,
				Code = "0004",
				Name = "Alpsko mleko 0,5 % m.m.; 1000 ml",
				Price = 12.59M,
				Image = GetEmbeddedResource(@"AlpskoMleko.mleko_alpsko_0.5_1000ml_novo.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 5,
				Code = "0005",
				Name = "Alpsko mleko 1,6 % m.m.; 1000 ml",
				Price = 9.99M,
				Image = GetEmbeddedResource(@"AlpskoMleko.mleko_alpsko_1.6_1000ml_novo.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 6,
				Code = "0006",
				Name = "Alpsko mleko z 1,6% m.m. s kalcijem; 1000ml",
				Price = 35.49M,
				Image = GetEmbeddedResource(@"AlpskoMleko.mleko_alpsko_1.6_ca_1000ml_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 7,
				Code = "0007",
				Name = "Alpsko mleko z 1,6% m.m. Omega3; 1000ml",
				Price = 8.39M,
				Image = GetEmbeddedResource(@"AlpskoMleko.mleko_alpsko_1.6_omega3_1000ml_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 8,
				Code = "0008",
				Name = "Alpsko mleko 1,6 % m.m. z dodatkom koencima Q10 + vitamin E; 1 l",
				Price = 27.99M,
				Image = GetEmbeddedResource(@"AlpskoMleko.mleko_alpsko_1.6_q10_+e_1000ml.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[0],
				Id = 9,
				Code = "0009",
				Name = "Alpsko mleko 3,5 % m.m.; 1000 ml",
				Price = 3.29M,
				Image = GetEmbeddedResource(@"AlpskoMleko.mleko_alpsko_3.5_1000ml_novo.jpg")
			});


			// Category: Ego
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 10,
				Code = "0010",
				Name = "Ego, tekoči naravni; 500 g",
				Price = 8.29M,
				Image = GetEmbeddedResource(@"Ego.2.1.1-ego-midi-navad-1.3-tt-500.jpg"),
				Description = "This organic alphabet soup with lentils contains two packets - one for organic seasonings, one for organic alphabet pasta. Add diced tomatoes for the perfect bowl.\r\nINGREDIENTS: Lentils, Split Green Peas, Split Yellow Peas, Barley, Rice, Pasta (Organic Golden Amber Durum Semolina, Beet, Spinach, Carrot), Onion, Carrot; RealSalt, Spices, Garlic, Onion."
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 11,
				Code = "0011",
				Name = "Ego, tekoči malina-rdeča pesa; 200 g",
				Price = 28.69M,
				Image = GetEmbeddedResource(@"Ego.2.1.10-ego-malina-rd-pesa-1.1-tt-mini-mm-200.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 12,
				Code = "0012",
				Name = "Ego, tekoči malina-rdeča pesa; 500 g",
				Price = 6.29M,
				Image = GetEmbeddedResource(@"Ego.2.1.11-ego-malina-rd-pesa-1.1-tt-midi-mm-500.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 13,
				Code = "0013",
				Name = "Ego, tekoči aronija-grozdje; 500 g",
				Price = 20.09M,
				Image = GetEmbeddedResource(@"Ego.2.1.5-ego-aronija-grozdje-1.1-tt-midi-mm-500.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 14,
				Code = "0014",
				Name = "Ego, tekoči korenček-pomaranča; 200 g",
				Price = 1.89M,
				Image = GetEmbeddedResource(@"Ego.2.1.6-ego-korencek-pomaranca-1.1-tt-mini-mm-200.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 15,
				Code = "0015",
				Name = "Ego, tekoči korenček-pomaranča; 500 g",
				Price = 43.89M,
				Image = GetEmbeddedResource(@"Ego.2.1.7-ego-korencek-pomaranca-1.1-tt-midi-mm-500.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 16,
				Code = "0016",
				Name = "Ego, tekoči limona-bezeg; 200 g",
				Price = 16.39M,
				Image = GetEmbeddedResource(@"Ego.2.1.8-ego-limona-bezeg-1.1-tt-mini-mm-200.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 17,
				Code = "0017",
				Name = "Jogurt Ego Slim&Vital iz pasteriziranega mleka z 1,1% m.m. tropik; 250g",
				Price = 5.09M,
				Image = GetEmbeddedResource(@"Ego.jogurt_ego_2x125g_zitarice.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[1],
				Id = 18,
				Code = "0018",
				Name = "Jogurt Ego Slim&Vital iz pasteriziranega mleka z 1,1% m.m. jagoda; 250g",
				Price = 3.99M,
				Image = GetEmbeddedResource(@"Ego.jogurt_ego_slim_&_vital__jagoda_250g_net5.jpg")
			});



			// Category: Mu
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 19,
				Code = "0019",
				Name = "Jogurt navadni iz pasteriziranega mleka z 1,3% m.m.; 1000g",
				Price = 31.99M,
				Image = GetEmbeddedResource(@"Mu.jogurt_navadni_1.3_1000g_net5.jpg"),
				Description = "Native Forest Unsweetened Organic Coconut Milk, Classic. Vegan.\r\n\r\nIn a fertile coastal valley, devoted Thailand farmers have achieved organic certification of their traditional coconut crop. Organic coconuts are generally smaller than their conventional counterparts, but the organically managed trees are more drought-resistant, and their soil is more rich and moisture retentive. We press the meat of these fresh, organic coconuts, yielding an oil-rich extract that is mixed only with filtered water and a tiny amount (less than 1%) of guar gum from the seeds of the guar plant. A staple of Thai and many Asian cuisines, coconut milk lends rich and creamy goodness to classic regional dishes. Perfect in soups, curries, sauces, desserts, and beverages, Native Forest Organic Coconut Milk may be the most delicious coconut milk you have ever tasted.\r\n\r\nINGREDIENTS: Certified Organic Coconut Milk (Organic Coconut, Water, Guar Gum)."
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 20,
				Code = "0020",
				Name = "Jogurt navadni iz pasteriziranega mleka z 1,3% m.m.; 150g",
				Price = 9.99M,
				Image = GetEmbeddedResource(@"Mu.jogurt_navadni_1.3_180g_net5.jpg"),
				Description = "The Only Real Aloe Vera. Organically Grown Real Aloe Vera Juice.\r\n\r\nReal Aloe History: Real Aloe has been in the Aloe vera Business since 1972. We use only fresh Aloe leaves grown in the U.S.A.; therefore, the Aloe vera used in our products has never been frozen, freeze-dried, or reconstituted from a powder. We believe the original method of 'hand filleting' the leaves, allows us to maintain the maximum biological activity and effectiveness from the aloe leaf.\r\n\r\nReal Aloe's Aloe Vera is one of the only Aloe vera products on the market today that is 100% grown and bottled in the U.S.A. If you are not drinking Real Aloe today, ask where your Aloe vera is grown, processed and bottled. Many Aloe vera products today are made in China, Korea, and Mexico."
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 21,
				Code = "0021",
				Name = "Sadni jogurt 1,3% m.m. marelica - breskev; 500g",
				Price = 55.49M,
				Image = GetEmbeddedResource(@"Mu.jogurt_sadni_500g_1.3_marelica_breskev_net.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 22,
				Code = "0022",
				Name = "Sadni jogurt iz pasteriziranega mleka z 1,3% m.m. banana; 160g",
				Price = 29.99M,
				Image = GetEmbeddedResource(@"Mu.jogurt_sadni_banana_1.3_160g_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 23,
				Code = "0023",
				Name = "Sadni jogurt iz pasteriziranega mleka s 3,2% m.m. breskev z žitnimi zrni; 160g",
				Price = 62.99M,
				Image = GetEmbeddedResource(@"Mu.jogurt_sadni_breskev_z_zitnimi_zrni__1.3_160g_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 24,
				Code = "0024",
				Name = "Sadni jogurt iz pasteriziranega mleka z 1,3% m.m. breskev-jabolko-hruška; 160g",
				Price = 4.29M,
				Image = GetEmbeddedResource(@"Mu.jogurt_sadni_breskev_jabolko_hruska_3.2_160g_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 25,
				Code = "0025",
				Name = "Sadni jogurt iz pasteriziranega mleka z 1,3% m.m. jagoda; 250g",
				Price = 3.89M,
				Image = GetEmbeddedResource(@"Mu.jogurt_sadni_jagoda_1.3_250g_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 26,
				Code = "0026",
				Name = "Sveže pasterizirano mleko s 3,5% m.m.; 1000ml",
				Price = 3.89M,
				Image = GetEmbeddedResource(@"Mu.mleko_sveze_tt_3.5_1000ml_net5.jpg")
			});
			_products.Add(new Product()
			{
				Category = _productCategories[2],
				Id = 27,
				Code = "0027",
				Name = "Sveže pasterizirano mleko z 1,6% m.m.; 1000ml",
				Price = 6.49M,
				Image = GetEmbeddedResource(@"Mu.mleko_sveze_tr_1.6_1000ml_net5.jpg")
			});




			//// Category: Fruits & Sweeteners
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 31,
			//    Code = "0031",
			//    Name = "Apple Sauce, Organic,23 ozs.",
			//    Price = 5.49M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 32,
			//    Code = "0032",
			//    Name = "Almond Roll Dates, Organic,5 lbs.",
			//    Price = 46.49M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 33,
			//    Code = "0033",
			//    Name = "Figs, Conadria-ORGANIC,5 lbs.",
			//    Price = 29.89M,
			//    Image = GetEmbeddedResource(@""),
			//    Description = "These figs are noted for their delicious, nut-like flavor and tender, golden skin. A popular favorite for eating out of hand. May be used in fig bars and pastes. Preservative free."
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 34,
			//    Code = "0034",
			//    Name = "Apple Butter,18 ozs.",
			//    Price = 8.29M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 35,
			//    Code = "0035",
			//    Name = "Diced Tomatoes, Organic,3 x 28 ozs.",
			//    Price = 10.69M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 36,
			//    Code = "0036",
			//    Name = "Apple Chips, Fuji, Organic,3 ozs.",
			//    Price = 3.29M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 37,
			//    Code = "0037",
			//    Name = "Apricots Dried, Organic,5 lbs.",
			//    Price = 59.29M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 38,
			//    Code = "0038",
			//    Name = "Cranberries, Dried,5 lbs.",
			//    Price = 26.49M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 39,
			//    Code = "0039",
			//    Name = "Pineapple,1 lb.",
			//    Price = 5.89M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 40,
			//    Code = "0040",
			//    Name = "Raisins, Thompson,1 lb.",
			//    Price = 3.89M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[3],
			//    Id = 41,
			//    Code = "0041",
			//    Name = "Maple Sugar, Organic,8 x 10 ozs.",
			//    Price = 73.79M,
			//    Image = GetEmbeddedResource(@"")
			//});



			//// Category: Grocery Products
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 42,
			//    Code = "0042",
			//    Name = "Soy CURLS, Organic,8 ozs.",
			//    Price = 4.49M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 43,
			//    Code = "0043",
			//    Name = "Yellow Corn Taco Shells,12 x 5.5 ozs.",
			//    Price = 43.79M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 44,
			//    Code = "0044",
			//    Name = "Florentine Risotto, Organic,3 x 5.75 ozs.",
			//    Price = 11.39M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 45,
			//    Code = "0045",
			//    Name = "Traditional Miso-Cup w/Tofu,1.3 ozs.",
			//    Price = 4.79M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 46,
			//    Code = "0046",
			//    Name = "Pistol River Mixed Wild Mushrooms,0.75 ozs.",
			//    Price = 4.29M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 47,
			//    Code = "0047",
			//    Name = "Ginger Chunks, Organic,1 lb.",
			//    Price = 9.29M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 48,
			//    Code = "0048",
			//    Name = "Albacore Tuna, Salted,24 x 6 ozs.",
			//    Price = 66.89M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 49,
			//    Code = "0049",
			//    Name = "PINK Salmon,14.75 ozs. CAN",
			//    Price = 4.19M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 50,
			//    Code = "0050",
			//    Name = "Broth, Chicken Org.,4 x 8 ozs.",
			//    Price = 4.19M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 51,
			//    Code = "0051",
			//    Name = "Creamy Tomato Soup, Organic,12 x 16 ozs.",
			//    Price = 32.69M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[4],
			//    Id = 52,
			//    Code = "0052",
			//    Name = "French Onion Soup, Organic,12 x 16 ozs.",
			//    Price = 32.69M,
			//    Image = GetEmbeddedResource(@"g")
			//});



			//// Category: Seasonings
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 53,
			//    Code = "0053",
			//    Name = "Yellow Mustard, Squeeze, Organic,12 x 9 ozs.",
			//    Price = 36.19M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 54,
			//    Code = "0054",
			//    Name = "Lite Safflower Mayonnaise,12 x 24 ozs.",
			//    Price = 80.87M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 55,
			//    Code = "0055",
			//    Name = "Dijon Mustard, Organic,12 x 8 ozs.",
			//    Price = 25.39M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 56,
			//    Code = "0056",
			//    Name = "Tomato Ketchup, Organic,12 x 24 ozs.",
			//    Price = 48.49M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 57,
			//    Code = "0057",
			//    Name = "Stuffed Green Olives w/Peppers Org,12 x 9 ozs.",
			//    Price = 75.39M,
			//    Image = GetEmbeddedResource(@"")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 58,
			//    Code = "0058",
			//    Name = "Extract, Pure Chocolate, Organic,2 ozs.",
			//    Price = 6.59M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.Seasoning.ExtractPureChocolate.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 59,
			//    Code = "0059",
			//    Name = "San-J Tamari Soy Sauce, Black Label,6 x 20 ozs.",
			//    Price = 28.27M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.Seasoning.San-JTamariSoySauce.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 60,
			//    Code = "0060",
			//    Name = "OrganicVilHerbsDeProvenceVinaigrette,8 ozs.",
			//    Price = 4.59M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.Seasoning.OrganicVilHerbsDeProvenceVinaigrette.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[5],
			//    Id = 61,
			//    Code = "0061",
			//    Name = "Pistol RiverMushroom Parmesan Season,4 ozs.",
			//    Price = 5.99M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.Seasoning.PistolRiverMushroomParmesan.jpg")
			//});


			//// Category: Snacks & Treats
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 62,
			//    Code = "0062",
			//    Name = "Chewing Gum, Peppermint Blast,100 pcs.",
			//    Price = 7.79M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.ChewingGum.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 63,
			//    Code = "0063",
			//    Name = "Wheat Brushetta Veg Crackers, Org,6 x 6 ozs.",
			//    Price = 24.99M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.WheatBrushettaVegCrackers.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 64,
			//    Code = "0064",
			//    Name = "Wheatettes Baked Crackers,12 x 6 ozs.",
			//    Price = 44.09M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.WheatettesBakedCrackers.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 65,
			//    Code = "0065",
			//    Name = "BrownRice Crackers/Tamari,WheatFree,2.6 ozs.",
			//    Price = 5.49M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.BrownRiceCrackers.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 66,
			//    Code = "0066",
			//    Name = "Turkey Jerky, Regular,4 ozs.",
			//    Price = 9.49M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.TurkeyJerky.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 67,
			//    Code = "0067",
			//    Name = "Raspberry Bar,36 x 1 oz.",
			//    Price = 28.29M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.RaspberryBar.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 68,
			//    Code = "0068",
			//    Name = "Licorice Chews with Herbs,7 ozs.",
			//    Price = 3.89M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.LicoriceChews.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 69,
			//    Code = "0069",
			//    Name = "Pure Maple Candy Fancies,6 x 12 pcs.",
			//    Price = 61.59M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.PureMapleCandy2.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 70,
			//    Code = "0070",
			//    Name = "Pure Maple Candy Fancies,3 x 6 pcs.",
			//    Price = 18.69M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.PureMapleCandy.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 71,
			//    Code = "0071",
			//    Name = "Organic *Potato* Chips,3 x 5 ozs.",
			//    Price = 9.99M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.OrganicPotatoChips.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 72,
			//    Code = "0072",
			//    Name = "Rice Chips, Sesame & Seaweed,3 x 6 ozs.",
			//    Price = 10.19M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.RiceChips.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 73,
			//    Code = "0073",
			//    Name = "Rice Cakes, Brown, Unsalted, Organic,12 x 8.5 ozs.",
			//    Price = 42.19M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.RiceCakes.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 74,
			//    Code = "0074",
			//    Name = "HAZELNUT Nut Thins,3 x 4.25 ozs.",
			//    Price = 10.89M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.HAZELNUTNutThins.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 75,
			//    Code = "0075",
			//    Name = "Blue Corn Tortilla Chips, Salted,3 x 9 ozs.",
			//    Price = 11.29M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.BlueCornTortillaChips.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 76,
			//    Code = "0076",
			//    Name = "Mini Yellow Tortilla Chips,3 x 7.5 ozs.",
			//    Price = 7.29M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.MiniYellowTortillaChips.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 77,
			//    Code = "0077",
			//    Name = "Vanilla Pudding & Pie Mix,3 x 3.75 ozs.",
			//    Price = 8.19M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.VanillaPuddingPieMix.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 78,
			//    Code = "0078",
			//    Name = "Healthy Hazel,24 x 1.7 ozs.",
			//    Price = 48.69M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.HealthyHazel.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 79,
			//    Code = "0079",
			//    Name = "Perfect Pumpkin,24 x 1.7 ozs.",
			//    Price = 48.69M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.PerfectPumpkin.jpg")
			//});
			//_products.Add(new Product()
			//{
			//    Category = _productCategories[6],
			//    Id = 80,
			//    Code = "0080",
			//    Name = "Bar Chai with Almonds, Organic,15 x 1.6 ozs.",
			//    Price = 30.99M,
			//    Image = GetEmbeddedResource(@"Docentric.Examples.Data.BusinessObjects.ProductImages.SnacksAndTreats.BarChaiWithAlmonds.jpg")
			//});
			#endregion
		}
		#endregion



		#region Methods
		// GetProducts
		public static List<Product> GetProducts()
		{
			return _products;
		}


		// GetEmbeddedResource
		private static byte[] GetEmbeddedResource(string resourceName)
		{
			Stream resourceStream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("Docentric.Examples.Data.BusinessObjects.ProductImages_LM." + resourceName);
			BinaryReader br = new BinaryReader(resourceStream);
			return br.ReadBytes((int)resourceStream.Length);
		}
		#endregion
	}
}
